package threadTest;

public class MyThread implements Runnable{
    //cpu运行方法
    @Override
    public void run() {
        //迭代 循环
        for (int i = 0; i <10 ; i++) {
            System.out.println(Thread.currentThread().getName()+"----mythread"+i);
        }
    }

}
